<h1>Listing interventions</h1>

<table>
  <tr>
    <th>Title</th>
    <th>Desc</th>
  </tr>

<% @interventions.each do |intervention| %>
  <tr>
    <td><%=h intervention.title %></td>
    <td><%=h intervention.desc %></td>
    <td><%= link_to 'Show', intervention %></td>
    <td><%= link_to 'Edit', edit_intervention_path(intervention) %></td>
    <td><%= link_to 'Destroy', intervention, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New intervention', new_intervention_path %>